package com.itheima.provide.dao;

import com.itheima.provide.domain.Goods;

import org.springframework.stereotype.Repository;

import javax.validation.ReportAsSingleViolation;

/**
 * 商品Dao
 */

@Repository
public class GoodsDao {

    public Goods findOne(int id){
        return new Goods(1,"小米",11999,10000);
    }
}
